<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SimpleRobot: Control类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SimpleRobot
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">简易四轴机器人动画</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#signals">信号</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-slots">Protected 槽</a> &#124;
<a href="class_control-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Control类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>控制类  
 <a href="class_control.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="control_8h_source.html">control.h</a>&gt;</code></p>
<div class="dynheader">
类 Control 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_control.png" usemap="#Control_map" alt=""/>
  <map id="Control_map" name="Control_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
信号</h2></td></tr>
<tr class="memitem:aa3dfe35b337f0342abc4aaa9b25d334a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3dfe35b337f0342abc4aaa9b25d334a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#aa3dfe35b337f0342abc4aaa9b25d334a">actionFinished</a> ()</td></tr>
<tr class="memdesc:aa3dfe35b337f0342abc4aaa9b25d334a"><td class="mdescLeft">&#160;</td><td class="mdescRight">动作完成信号 <br /></td></tr>
<tr class="separator:aa3dfe35b337f0342abc4aaa9b25d334a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa730aeda4517f40bc48ba1e46ebded77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa730aeda4517f40bc48ba1e46ebded77"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#aa730aeda4517f40bc48ba1e46ebded77">Control</a> ()</td></tr>
<tr class="memdesc:aa730aeda4517f40bc48ba1e46ebded77"><td class="mdescLeft">&#160;</td><td class="mdescRight">A constructor. <br /></td></tr>
<tr class="separator:aa730aeda4517f40bc48ba1e46ebded77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedda1328c4f8b8d49bca8f0812d3bfd1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aedda1328c4f8b8d49bca8f0812d3bfd1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#aedda1328c4f8b8d49bca8f0812d3bfd1">~Control</a> ()</td></tr>
<tr class="memdesc:aedda1328c4f8b8d49bca8f0812d3bfd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">A destructor. <br /></td></tr>
<tr class="separator:aedda1328c4f8b8d49bca8f0812d3bfd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad223c63a5825a584f17a4cfc3b1b021d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#ad223c63a5825a584f17a4cfc3b1b021d">RotateMasterAbs</a> (float angle, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:ad223c63a5825a584f17a4cfc3b1b021d"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转主臂到指定角度  <a href="#ad223c63a5825a584f17a4cfc3b1b021d">更多...</a><br /></td></tr>
<tr class="separator:ad223c63a5825a584f17a4cfc3b1b021d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada672bd88cf68c704896094e831c6712"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#ada672bd88cf68c704896094e831c6712">RotateMaster</a> (float angle, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:ada672bd88cf68c704896094e831c6712"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转主臂指定大小的角度  <a href="#ada672bd88cf68c704896094e831c6712">更多...</a><br /></td></tr>
<tr class="separator:ada672bd88cf68c704896094e831c6712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8639f928bd61943fc7f7a1f57b9aa544"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a8639f928bd61943fc7f7a1f57b9aa544">RotateAssistantAbs</a> (float angle, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:a8639f928bd61943fc7f7a1f57b9aa544"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转副臂到指定角度  <a href="#a8639f928bd61943fc7f7a1f57b9aa544">更多...</a><br /></td></tr>
<tr class="separator:a8639f928bd61943fc7f7a1f57b9aa544"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1472aabfe513d8abd7e55fa665ca5ed4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a1472aabfe513d8abd7e55fa665ca5ed4">RotateAssistant</a> (float angle, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:a1472aabfe513d8abd7e55fa665ca5ed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转副臂指定大小的角度  <a href="#a1472aabfe513d8abd7e55fa665ca5ed4">更多...</a><br /></td></tr>
<tr class="separator:a1472aabfe513d8abd7e55fa665ca5ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a42b29c54f6bbcde494a57489fe9f70"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a7a42b29c54f6bbcde494a57489fe9f70">RotateBarAbs</a> (float angle, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:a7a42b29c54f6bbcde494a57489fe9f70"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转工具杆到指定角度  <a href="#a7a42b29c54f6bbcde494a57489fe9f70">更多...</a><br /></td></tr>
<tr class="separator:a7a42b29c54f6bbcde494a57489fe9f70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7a6809f813de5bf1ad1eaf682d572df"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#ae7a6809f813de5bf1ad1eaf682d572df">RotateBar</a> (float angle, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:ae7a6809f813de5bf1ad1eaf682d572df"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转工具杆指定大小的角度  <a href="#ae7a6809f813de5bf1ad1eaf682d572df">更多...</a><br /></td></tr>
<tr class="separator:ae7a6809f813de5bf1ad1eaf682d572df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e089b19f49a8214e5791fa2fbd87cce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a1e089b19f49a8214e5791fa2fbd87cce">MoveBarAbs</a> (float down, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:a1e089b19f49a8214e5791fa2fbd87cce"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动工具杆到指定位置  <a href="#a1e089b19f49a8214e5791fa2fbd87cce">更多...</a><br /></td></tr>
<tr class="separator:a1e089b19f49a8214e5791fa2fbd87cce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e6e5b1243a21767a4707639a6536ef6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a0e6e5b1243a21767a4707639a6536ef6">MoveBar</a> (float down, float speed=-1, bool immediate=false)</td></tr>
<tr class="memdesc:a0e6e5b1243a21767a4707639a6536ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动工具杆指定大小的位移  <a href="#a0e6e5b1243a21767a4707639a6536ef6">更多...</a><br /></td></tr>
<tr class="separator:a0e6e5b1243a21767a4707639a6536ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad408f3b1eaf5b30c96600f4a299c0119"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad408f3b1eaf5b30c96600f4a299c0119"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#ad408f3b1eaf5b30c96600f4a299c0119">Stop</a> ()</td></tr>
<tr class="memdesc:ad408f3b1eaf5b30c96600f4a299c0119"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止运动 <br /></td></tr>
<tr class="separator:ad408f3b1eaf5b30c96600f4a299c0119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab356fe0c8c30559cbeeb38d4b2c4cc1b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#ab356fe0c8c30559cbeeb38d4b2c4cc1b">setModel</a> (<a class="el" href="class_model.html">Model</a> *model)</td></tr>
<tr class="memdesc:ab356fe0c8c30559cbeeb38d4b2c4cc1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置数据模型  <a href="#ab356fe0c8c30559cbeeb38d4b2c4cc1b">更多...</a><br /></td></tr>
<tr class="separator:ab356fe0c8c30559cbeeb38d4b2c4cc1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a265d02f2f3c4e5bcffab2726ae72b54c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a265d02f2f3c4e5bcffab2726ae72b54c">setView</a> (<a class="el" href="class_view.html">View</a> *view)</td></tr>
<tr class="memdesc:a265d02f2f3c4e5bcffab2726ae72b54c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置3D视图  <a href="#a265d02f2f3c4e5bcffab2726ae72b54c">更多...</a><br /></td></tr>
<tr class="separator:a265d02f2f3c4e5bcffab2726ae72b54c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf3a4b133db05f5c0a454fc125ab4d68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#adf3a4b133db05f5c0a454fc125ab4d68">setFinishedSignal</a> (bool open)</td></tr>
<tr class="memdesc:adf3a4b133db05f5c0a454fc125ab4d68"><td class="mdescLeft">&#160;</td><td class="mdescRight">开关结束信号  <a href="#adf3a4b133db05f5c0a454fc125ab4d68">更多...</a><br /></td></tr>
<tr class="separator:adf3a4b133db05f5c0a454fc125ab4d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a3cfae96ae72da599e682bee89f561527"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3cfae96ae72da599e682bee89f561527"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a3cfae96ae72da599e682bee89f561527">internalMsecs</a></td></tr>
<tr class="memdesc:a3cfae96ae72da599e682bee89f561527"><td class="mdescLeft">&#160;</td><td class="mdescRight">定时刷新时间 <br /></td></tr>
<tr class="separator:a3cfae96ae72da599e682bee89f561527"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-slots"></a>
Protected 槽</h2></td></tr>
<tr class="memitem:a06e70e1ef83056e2ec2925d17d1dfbde"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06e70e1ef83056e2ec2925d17d1dfbde"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_control.html#a06e70e1ef83056e2ec2925d17d1dfbde">onPaintTick</a> ()</td></tr>
<tr class="memdesc:a06e70e1ef83056e2ec2925d17d1dfbde"><td class="mdescLeft">&#160;</td><td class="mdescRight">定时器中断槽 <br /></td></tr>
<tr class="separator:a06e70e1ef83056e2ec2925d17d1dfbde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>控制类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a0e6e5b1243a21767a4707639a6536ef6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::MoveBar </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>down</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>移动工具杆指定大小的位移 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">down</td><td>位移 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1e089b19f49a8214e5791fa2fbd87cce"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::MoveBarAbs </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>down</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>移动工具杆到指定位置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">down</td><td>位置 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1472aabfe513d8abd7e55fa665ca5ed4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::RotateAssistant </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转副臂指定大小的角度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>角度 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8639f928bd61943fc7f7a1f57b9aa544"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::RotateAssistantAbs </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转副臂到指定角度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>角度 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae7a6809f813de5bf1ad1eaf682d572df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::RotateBar </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转工具杆指定大小的角度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>角度 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7a42b29c54f6bbcde494a57489fe9f70"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::RotateBarAbs </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转工具杆到指定角度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>角度 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ada672bd88cf68c704896094e831c6712"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::RotateMaster </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转主臂指定大小的角度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>角度 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad223c63a5825a584f17a4cfc3b1b021d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Control::RotateMasterAbs </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转主臂到指定角度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>角度 </td></tr>
    <tr><td class="paramname">speed</td><td>速度（-1 or 1-100） </td></tr>
    <tr><td class="paramname">immediate</td><td>是否立即到达 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adf3a4b133db05f5c0a454fc125ab4d68"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Control::setFinishedSignal </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>open</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>开关结束信号 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">open</td><td>打开结束信号? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab356fe0c8c30559cbeeb38d4b2c4cc1b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Control::setModel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_model.html">Model</a> *&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置数据模型 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">model</td><td>数据模型指针 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a265d02f2f3c4e5bcffab2726ae72b54c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Control::setView </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_view.html">View</a> *&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置3D视图 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">view</td><td>3D视图指针 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="control_8h_source.html">control.h</a></li>
<li>control.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 四月 11日 星期六 16:06:06 , 为 SimpleRobot使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
